/*
    Revolution Engine
    Copyright (C) 2009 Felipe Apablaza

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

/**
 *
 *  File: DataTypes.hpp
 *  Desc: Baisc data type definitions.
 *
 */

#ifndef __REVENG_DATATYPES_HPP
#define __REVENG_DATATYPES_HPP

#include "Detect.h"

namespace RevEng
{
	typedef unsigned char UInt8;
	typedef unsigned short int UInt16;
	typedef unsigned long int UInt32;

	typedef signed char Int8;
	typedef signed short int Int16;
	typedef signed long int Int32;

	typedef float Single;
	typedef double Double;

	typedef UInt32 Enum;	//Don't use C++03 enum's. They really sucks!

#if defined(__REVENG_MSVC__) || defined(__REVENG_BCC__)
	typedef unsigned __int64 UInt64;
	typedef signed __int64 Int64;
#else
	typedef unsigned long long UInt64;
	typedef signed long long Int64;
#endif
}

#endif	//__reveng_base_hpp__
